﻿<!DOCTYPE html>
<html lang="en" xmlns="http://www.w3.org/1999/xhtml">
<head>
    <meta charset="utf-8" />
    <title>退出</title>
    <script src="../js/jquery-2.1.4.min.js"></script>
</head>
<body>
    <script>

        function SetCookie(name) {
            var value = "";
            var Days = -1;
            var exp = new Date();
            exp.setTime(exp.getTime() + Days * 24 * 60 * 60 * 1000);
            document.cookie = name + "=" + escape(value) + ";expires=" + exp.toGMTString() + ";path=/";
        }

        function load() {
            SetCookie("userid");
            SetCookie("staffid");
            SetCookie("storeid");

            SetCookie("wjk_userid");
            SetCookie("wjk_staffid");
            SetCookie("wjk_storeid");

            document.location.href = "bossRadarIndex.html?rand=" + Math.random();
        }
        load();
    </script>
</body>
</html>